<template>
  <div>
    <!-- 搭建页面主题结构 -->
    <el-container>
      <!-- 主页面头部 -->
      <el-header>
        <common-header/>

      </el-header>
      <el-container>
        <!-- 主页侧边栏 -->
        <el-aside>
          <common-aside />
        </el-aside>
        <!-- 主页内容 -->
        <el-main class="main">
          <!-- 嵌套路由  配置二级路由-->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
import CommonAside from "@/components/CommonAside.vue";
import CommonHeader from "../components/CommonHeader.vue";

export default {
  name: "home",
  components: { CommonHeader, CommonAside },
  data() {
    return {
    
    };
  },
};
</script>
<style scoped>
.el-header {
  padding: 0;
}
</style>
